package com.fyl.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author 冯永龙
 * @date 2020/12/2 9:52
 */
@Getter
public enum GenderEnum {
    MALE(1, "男"),
    FEMALE(0, "女");

    @EnumValue
    private Integer code;
    private String msg;

    GenderEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
